package com.example.myapplication.viewmodelsharedcommondata.vd2;

import androidx.lifecycle.ViewModel;

import com.example.myapplication.viewmodelsharedcommondata.vd2.CustomProjectLiveData;

public class ProjectViewModel extends ViewModel {


    private final CustomProjectLiveData<String> isActive;//  是否存活
    private final CustomProjectLiveData<Boolean> isLogin;//  是否登录

    public CustomProjectLiveData<String> getIsActive() {

        return isActive;
    }

    public CustomProjectLiveData<Boolean> getIsLogin() {

        return isLogin;
    }

    {
        isActive = new CustomProjectLiveData<>();
        isActive.setValue("000");
        isLogin = new CustomProjectLiveData<>();
        isLogin.setValue(false);
    }


}
